package com.demo.shiro.mapper;

import com.demo.shiro.config.MyMapper;
import com.demo.shiro.model.Permission;
import com.demo.shiro.model.RolePermission;

import java.util.List;

/**
 * @author Jmy
 */
public interface RolePermissionMapper extends MyMapper<RolePermission> {

    List<Permission> findByUserName(String userName);
}